{template 'member', 'header'}
<div id="memberArea">
{template 'member', 'left'}
<div class="col-auto">
<div class="col-1 " style="margin-bottom:20px;">
<h6 class="title">点卡列表</h6>
<div class="content">
<table width="100%" cellspacing="0"  class="table-list">
        <thead>
            <tr>
            <th width="30%">点卡卡号</th>
            <th width="25%">点卡密码</th>
            <th width="20%">点卡面值(元)</th>
            <th width="15%">过期时间</th>
            <th width="10%">操作</th>
            </tr>
        </thead>
    <tbody>
	{loop $infos $info} 
	<tr>
	<td align="center">{$info['card_sn']}</td>
	<td align="center">{$info['card_pwd']}</td>
	<td align="center">{$info['card_value']}</td>
	<td align="center">{$info['endtime']}</td>
	<td align="center">
	<a href="javascript:void(0);" onclick="if(confirm('您确定充值吗?')) location.href='?m=pay&c=deposit&a=pc_pay&pc_id={$info['pid']}'" title="点卡充值">
	点卡充值
	</a>
	</td>
	</tr>
	{/loop}
    </tbody>
    </table>
 <div id="pages"> {$pages}</div>
</div>
<span class="o1"></span><span class="o2"></span><span class="o3"></span><span class="o4"></span>
</div>

<div class="col-1 ">
	<h5 class="title">{L('pointcard_bind')}</h5>
	<div class="content">
	<form method="post" action="index.php?m=member&c=index&a=pointcard_bind" id="myform" name="myform">
	<table width="100%" cellspacing="0" class="table_form">
		<tr>
			<th width="100">{L('pointcard_number')}</th> 
			<td><input name="bind_name" value="" type="text" class="input-text" size="30"></td>
		</tr>
		<tr>
			<th width="100">{L('pointcard_password')}</th> 
			<td><input name="bind_stno" value="" type="text" class="input-text" size="30"></td>
		</tr>
		<tr>
			<th></th>
			<td><input name="dosubmit" type="submit" id="dosubmit" value="{L('submit')}" class="button"></td>
		</tr>
	</table>
	</form>
	</div>
</div>

</div>
</div>
{template 'member', 'footer'}
